import request from "@/utils/request";

/**
 * 获取所有赛事安排
 *
 * @returns
 */
export function getAllArrangements() {
    return request({
        url: '/getAllArrangements',
        method: 'POST',
    });
}

/**
 * 获取学习资源
 *
 * @param type
 * @returns
 */
export function getAllResourcesByType(type) {
    return request({
        url: '/learningResources/getAllByType',
        method: 'GET',
        params: {
            type
        }
    });
}

/**
 * 获取系友风采
 *
 * @returns
 */
export function getLateSixFriendsNews() {
    return request({
        url: '/news/getLateSixFriendsNews',
        method: 'GET',
    });
}